package eSchool.BL;

import java.util.ArrayList;
import javax.swing.event.TableModelListener;
import javax.swing.table.TableModel;


public abstract class BasicListObject<E> extends ArrayList<E> implements TableModel {

           
    public int getRowCount() {
        return this.size();
    }

    public abstract int getColumnCount(); 
        
    public abstract String getColumnName(int columnIndex);

    public abstract Class<?> getColumnClass(int columnIndex);
    
    public boolean isCellEditable(int rowIndex, int columnIndex) {
        return false;
    }


    public void addTableModelListener(TableModelListener l) {
    
    }

    public void removeTableModelListener(TableModelListener l) {
    
    }
    

    public abstract void leDados();
    public abstract void gravaDados();
    
}
